#ifndef IMAGEVIEWPORT_H
#define IMAGEVIEWPORT_H

#include <QLabel>
#include "labelmanager.h"

class ImageViewport : public QLabel
{
    Q_OBJECT

    LabelManager *labelManager;

    void mousePressEvent(QMouseEvent *event);
    void mouseReleaseEvent(QMouseEvent *event);
    void mouseMoveEvent(QMouseEvent *event);
    void keyPressEvent(QKeyEvent *event);

public:
    explicit ImageViewport(LabelManager *manager, QWidget *parent = 0);

public slots:

};

#endif // IMAGEVIEWPORT_H
